package edu.sctu.liangyuxiang.day20150517;

/**
 * Created by user20 on 2015/5/17.
 */
public class Main {
    public static void main(String[] args) {
        StudentIterface student = new StudentIterface() {
            @Override
            public Student[] student(Student student) {
                Student[] student1 = new Student[9];
                Teacher[] teacher1 = new Teacher[3];

                Teacher teacher = new Teacher();
                Student student2 = new Student();

                for (int i = 0; i <teacher1.length; i++) {
                    teacher1[i].teacher(150 + i, "李四", "男", "教授");
                }

                for (int i = 0; i < student1.length; i++) {
                        student2.student(140 + i, 20 + i, 60 + i, "张三" + i);
                        teacher.student[i] = student2;
                }
                return student1;
            }
        };

        TextOne textOne = new TextOne();
        textOne.getTeacherInfo();
        textOne.getStudent(65);
        textOne.getCode();

    }
}
